package com.hdoit.ares.web.cust.modelconfig;

import com.hdoit.ares.web.cust.providers.CustPosterTypeProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class CustPosterSearchConfig extends ModelMetadataAttributeConfiguration{
	public CustPosterSearchConfig(){
		this.setProperty("startDate")
			.hasAttribute(new DisplayNameAttribute("上传日期从"));
		
		this.setProperty("endDate")
			.hasAttribute(new DisplayNameAttribute("到"));
		
		this.setProperty("posterType")
			.hasAttribute(new DisplayNameAttribute("海报类型"))
			.hasAttribute(new DropDownListAttribute(new CustPosterTypeProvider("senior")));
	}
}
